<!-- 子组件 List.vue -->
<template>
  <CardPassByVal>
    <template v-slot="slotProps">
      <span>{{ slotProps.index }}--{{ slotProps.item.name }}</span>
    </template>
  </CardPassByVal>
</template>

<script>
  import CardPassByVal from "./CardPassByVal.vue";
  export default {
    components: {
      CardPassByVal,
    },
    data() {
      return {};
    },
  };
</script>
